<?php

/**
 * 实名认证
 *
 * Created by PhpStorm.
 * User: evan
 * Date: 16/8/24
 * Time: 下午5:58
 */
class Prodoctor_auth extends MY_Api_Controller
{
    public function auth()
    {
        $uid = (int)$this->input->get_post('uid');
        $fid = (int)$this->input->get_post('fid');

        $this->load->service('user/service_user_prodoctor_auth');
        $data = $this->service_user_prodoctor_auth->auth($uid, $fid);


        $this->json_output($data['data'], $data['status']);

    }

}